package com.transaction.demo.accounting;

import org.springframework.boot.CommandLineRunner;
import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.SpringBootApplication;

import lombok.extern.slf4j.Slf4j;
import org.springframework.transaction.annotation.EnableTransactionManagement;

/**
 * 描述：会计服务
 * 作者：马庆智
 * 日期：2023/4/26 10:24
 */
@Slf4j
@SpringBootApplication
@EnableTransactionManagement
public class AccountApplication implements CommandLineRunner {

	public static void main(String[] args) {
		SpringApplication.run(AccountApplication.class, args);
	}

	@Override
	public void run(String... args) throws Exception {
		log.info("会计服务已启动!");
	}
}